package com.mengxin.secondkill.service;

import com.mengxin.secondkill.message.req.AddOrderReq;
import com.mengxin.secondkill.message.resp.AddOrderResp;
import org.springframework.data.redis.connection.stream.Record;

/**
 * @author mengxin
 * @date 2020/12/24 16:26
 */
public interface OrderService {

    public AddOrderResp addOrder(AddOrderReq req,String group, Record<String, ?> record);
}
